# hwnd_util is allowed to include ui/views because it has separate
# implementations for win and aura.
specific_include_rules = {
  "hwnd_util.*": [
    "+ui/views",
  ],
}

# The rest of the code here is intended to be distinct from the rest of
# views and not depend on the details of the win and aura implementations.
# Use HWNDMessageHandlerDelegate instead of #including views types.
include_rules = [
  "-ui/views",

  "+base",
  "+services/tracing/public",
  "+third_party/perfetto/protos/perfetto/trace/track_event",
  "+ui/base",
  "+ui/gfx",
  "+ui/latency",
  "+ui/views/accessibility/native_view_accessibility_win.h",
  "+ui/views/ime/input_method_delegate.h",
  "+ui/views/views_delegate.h",
  "+ui/views/views_export.h",
  "+ui/views/widget/widget_hwnd_utils.h",
  "+ui/views/win",
  "+ui/views/window/window_resize_utils.h",
]
